{*التحكم بالاقسام - (Powered By MySmartBB)*}
{include file="style_header.tpl"}
<form method="POST" action="section.php?cp=1&update_section=1&id={$id}">
  <div align="center">
    <table class="border" summary="جدول" cellspacing="1" width="70%">
      <tr>
        <td class="row2" colspan="4">الاقسام</td>
      </tr>
      {section name=idx loop=$getsection_rows}
      <tr>
        <td class="row1" width="55%">{$getsection_rows[idx].title}</td>
        <td class="row1" width="15%"><a href="section.php?cp=1&edit_sub=1&index=1&id={$getsection_rows[idx].id}">تحرير</a></td>
        <td class="row1" width="15%"><a href="section.php?cp=1&del=1&sure=1&id={$getsection_rows[idx].id}">حذف</a></td>
        <td class="row1" width="15%"><input type="text" name="{$getsection_rows[idx].id}" value="{$getsection_rows[idx].sort}" size="5"></td>
      </tr>
      {/section}
    </table>
  </div>
  <div align="center"><input class="button" type="submit" value="تحديث" name="B1"></div>
</form>
{include file="style_footer.tpl"}